*** Template by {$T.bold()} version <em>{$Q.version}</em>. ***
{#template item}
				<li class="js_item item- {#if $T.active==1}active-{#else}{#/if}" id="sect{$T.oid}">
					<span class="bggg1-"><span class="bggg2-"><span class="bggg3-"><span class="bggg4-">
					<a href="#" class="js_item_del"><img src="{$P.img_path}/decoration/page_white_delete.png" alt="[Уд]" class="action-" /></a>
					<a href="#" class="js_item_edit"><img src="{$P.img_path}/decoration/page_white_edit.png" alt="[Ред]" class="action-" /></a>
					<h3 class="subtitle-">{$T.num}. {$T.title}</h3>
					<span class="desc-">{$T.items_count} записей <!--, {$T.comments_count} комментариев--></span>
				</span></span></span></span></li>
{#/template item}
{#template MAIN}
<div class="popup-body"><div class="bg1-">
	<div class="bg2-"></div><div class="bg3-"></div><div class="bg4-"></div><div class="bg5-"></div>
	<h4 class="title-">Управление разделами</h4>
	<div class="fields- linkbar- form-common"><div class="bgg1-"><div class="bgg2-"><div class="bgg3-">
			<ul class="menu- js_menu">
				{#foreach $T.items as itm}
				{#include item root=$T.itm}
				{#/for}
			</ul>
			<div class="js_add add-"><div class="bggg1-">
				<a href="#"><img src="{$P.img_path}/decoration/file_add.png" alt="[+]" class="img-" />Добавить раздел</a>
			</div></div>
	</div></div></div></div>
	<ul class="buttons- js_buttons">
		<!--li class="accept-"><a href="#">Сохранить</a></li-->
		<li class="js_neutral"><button>Закрыть</button></li>
	</ul>
</div></div>
{#/template MAIN}
